package my.study.org.springframework.beans.examples.example1.abstrct;

import my.study.org.springframework.beans.examples.example1.interfaces.Instrument;
import my.study.org.springframework.beans.examples.example1.interfaces.Performer;

public abstract class AbstractPerfomer implements Performer {

	/* (non-Javadoc)
	 * @see my.study.org.springframework.beans.examples.example1.interfaces.Performer#perform()
	 */
	public String perform() {
		return this.getInstrument().play();
	}
	
	public abstract Instrument getInstrument();
	
}
